#ifndef PROJECTVIEW_H
#define PROJECTVIEW_H

#include <QTreeView>

class QAction;

class ProjectView : public QTreeView {
  Q_OBJECT
public:
  explicit ProjectView(QWidget *parent = 0);

protected:
  void selectionChanged(const QItemSelection &selected, const QItemSelection &deselected);

private:
  QAction* addItem;
  QAction* remove;
  QAction* rename;

signals:
  void addItemRequested();
  void removeRequested();
  void renameRequested();
};

#endif // PROJECTVIEW_H
